From: Dale Wijnand Date: Fri, 20 Apr 2018 19:00:57 +0000 (+0100) Subject: fix typos in arg_targets_all X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~1^2~54^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=62adf5e2083e9753b9e4058726005ed3a684ceac;p=cargo.git fix typos in arg_targets_all --- diff --git a/src/bin/command_prelude.rs b/src/bin/command_prelude.rs index a057a1fc5..79572d8d3 100644 --- a/src/bin/command_prelude.rs +++ b/src/bin/command_prelude.rs @@ -49,21 +49,21 @@ pub trait AppExt: Sized { lib: &'static str, bin: &'static str, bins: &'static str, - examle: &'static str, - examles: &'static str, + example: &'static str, + examples: &'static str, test: &'static str, tests: &'static str, bench: &'static str, - benchs: &'static str, + benches: &'static str, all: &'static str, ) -> Self { self.arg_targets_lib_bin(lib, bin, bins) - ._arg(multi_opt("example", "NAME", examle)) - ._arg(opt("examples", examles)) + ._arg(multi_opt("example", "NAME", example)) + ._arg(opt("examples", examples)) ._arg(multi_opt("test", "NAME", test)) ._arg(opt("tests", tests)) ._arg(multi_opt("bench", "NAME", bench)) - ._arg(opt("benches", benchs)) + ._arg(opt("benches", benches)) ._arg(opt("all-targets", all)) }